# coding: utf8

config = {
	'task': {
		'status': {
			-1: '已取消',
			0: '新的',
			1: '已受理',
			2: '已解决',
		},
		'color': {
			-1: '#CCC',
			0: '',
			1: '#99CCFF',
			2: '#5cb85c',
		},
		'paginator': {
			'pre_page_num': 5,	# 每页条数
		},
		'time_unit': {
			'minutes': '分钟',
			'hours': '小时',
			'days': '天',
		},
	}
}

def get_status():
	return config['task']['status']

def get_page_num():
	return config['task']['paginator']['pre_page_num']

def get_time_unit():
	return config['task']['time_unit']